package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account   string `gorm:"type:varchar(30);comment:‘账号’"`
	Password  string `gorm:"type:char(32);comment:‘密码’"`
	Name      string `gorm:"type:varchar(30);comment:‘用户昵称’"`
	Address   string `gorm:"type:varchar(100);comment:‘用户地址’"`
	HeadImage string `gorm:"type:varchar(500);comment:‘用户头像’"`
}
